package com.lft.examsys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lft.examsys.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    boolean add(@Param("id") String id, @Param("name") String name);

    List<Role> getAllRole();
}
